<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        
        <link rel="stylesheet" href="CSS/debut1.css" type="text/css">
        <title>Menu Principal</title>
    </head>
    <body>
      <div id="main">
        <h1>Bienvenue</h1>
        <c:choose>
            <c:when test="${sessionScope.sessionUtilisateur.type==0}">
                  <c:import url="/WEB-INF/menuEtudiant.jsp"/>
            </c:when>
            <c:when test="${sessionScope.sessionUtilisateur.type==1}">
                  <c:import url="/WEB-INF/menuProfesseur.jsp"/>
            </c:when>
            <c:when test="${sessionScope.sessionUtilisateur.type==2}">
                  <c:import url="/WEB-INF/menuSecretaire.jsp"/>
            </c:when>
        </c:choose>
        
        <p>${bug}</p>
      </div>
    </body>
</html>
